package com.bytech.common.biz.service.remote.blog;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.bytech.common.biz.entity.base.BaseResult;

/**
 * 用于提供一些博客统计信息的微服务客户端
 *
 * @Author Zhao
 * @Create 2021/8/10 18:42
 */
@FeignClient("service-blog-admin")
public interface RemoteBlogService {

    @GetMapping("/article/articleCount")
    BaseResult<Integer> getArticleCount();
}
